package com.learner.pojo.filesystem;

import lombok.Data;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
* @author ice2020x
* @Date: 2023/2/25
* @Description: 文件上传
**/
@Data
@ToString
@Document(collection = "fileSystem")
public class FileSystem implements Serializable {
    private static final long serialVersionUID = -1;
    @Id
    private String fileId;
    /**
     * 文件请求路径
     */
    private String filePath;
    /**
     * 文件大小
     */
    private long fileSize;
    /**
     * 文件名称
     */
    private String fileName;
    /**
     * 文件类型
     */
    private String fileType;
}
